API

Finance APIs

GET finance/general-ledger-accounts/{generalLedgerAccountId}/child-general-ledger-accounts?periodForTotals={periodId}

List of all child general ledger accounts for provided general ledger account.

HTTP method GET
URI https://api.rambase.net/finance/general-ledger-accounts/{generalLedgerAccountId}/child-general-ledger-accounts?periodForTotals={periodId}
Supported formats Xml, Html, Json (ex. $format=json)
- URI parameter {generalLedgerAccountId} General ledger account identifier
Integer, minimum 1000
Maximum page size ($top) 80
Successful HTTP status code 200
API resource identifier 4136, version 10

The following body must be added to the request. Mouse over fieldnames for description and other useful information about the fields. Note that fields in bold are required/mandatory.

Format:
1
1

The query string is placed after the resource URL, seperated with a questionmark (?). The query string is composed of a series of query parameters with values. See the page about query parameters on how to use these parameters.

periodForTotals Integer, optional Accounting period identifier

Minimum: 199000,
Maximum: 299912
$showDomainDescriptions Boolean, optional Set to "true" to include domain descriptions for fields using domain values. See the Domain values page for more information. Default value is false.
$lang String, optional Specifies the language used in the response, following the 3-letter ISO-639-1 [lll]
$access_token String, optional After successful login you get an access token which needs to be provided in all API requests. Even though it is possible to pass this token as query parameter, we recommended passing it using the HTTP request header as described in Authorization. Note that all access tokens have an expiration time.
$db String, optional Set the database/company for the request
$expand String, optional Use to include output fields that are not returned by default in the response. Accepts a comma-separated list of expandable field names. See the Expand and Select page for more information.
$select String, optional Use to define the fields to return in the response. Accepts a comma-separated list of field names. See the Expand and select page for more information.
$useMinimumVersion Integer, optional Used to run a new version of an API resource when your API client is running a deprecated API resource. See the Breaking changes page for more information.
$format String, optional Set the format of the response to use for the request. Accepted values are "xml", "html", "jsonstream", "json"
$top String, optional Specifies number of rows to return in each page. Maximum limit is specific for each API resource. Default value is 10.
$pageKey String, optional Use to navigate to first, previous, next or last page in list. Add $expand=PagingDetails to add the different keys to the response.
$filter String, optional Use to filter the result list, see the Filtering and sorting page for more information.
$orderby String, optional Use to order the result list, see the Filtering and sorting page for more information.
$inlinecount String, optional Set to "allpages" to include total number of rows in the response. Possible values are: "allpages", "none"

Read more about filters and sorting on how to use filter parameters and named filters.

AccountNumber String The account number of the general ledger account.
AssetRequirement String Specifies how the dimension should be used for the specific account.
BudgetAccountId Integer Budget account identifier.
Category String Category of account.
DepartmentRequirement String Specifies how the dimension should be used for the specific account.
DepreciationRuleId Integer Depreciation rule identifier.
GeneralLedgerAccountGroupId Integer General ledger account group identifier.
GeneralLedgerAccountId Integer General ledger account identifier.
IsAgioCalculated Boolean True if general ledger account is agio calculated.
IsControlAccount Boolean True if general ledger account is a control account.
Name String Name of general ledger account.
ParentGeneralLedgerAccountId Integer Parent general ledger account identifier.
PostingType String Posting type of account. Only debit, only credit or both.
ProjectRequirement String Specifies how the dimension should be used for the specific account.
Status Integer Status of general ledger account.
Type String Type of account.
VATCode String Code that determines VAT rules used for VAT calculations.

Read more about filters and sorting on how to use sortable parameters

AccountNumber String The account number of the general ledger account
AssetRequirement String Specifies how the dimension should be used for the specific account.
BudgetAccountId Integer Budget account identifier
Category String Category of account
DepartmentRequirement String Specifies how the dimension should be used for the specific account.
DepreciationRuleId Integer Depreciation rule identifier
GeneralLedgerAccountGroupId Integer General ledger account group identifier
GeneralLedgerAccountId Integer General ledger account identifier
IsAgioCalculated Boolean True if general ledger account is agio calculated
IsControlAccount Boolean True if general ledger account is a control account
Name String Name of general ledger account
ParentGeneralLedgerAccountId Integer Parent general ledger account identifier.
PostingType String Posting type of account. Only debit, only credit or both.
ProjectRequirement String Specifies how the dimension should be used for the specific account.
Status Integer Status of general ledger account
Type String Type of account
VATCode String Code that determines VAT rules used for VAT calculations.

Requesting this resource will yield the following response. Mouse over fieldnames (or fieldgroups) for descriptions and other useful information about the fields. Fields colored in grey is expandable fields.

Please note that some fields may be removed from the response, based on user roles/duties/permissions.

Format:
1
<GeneralLedgerAccounts>
2
     <GeneralLedgerAccount>
3
          <GeneralLedgerAccountId
GeneralLedgerAccountId

General ledger account identifier

>
{Integer}</GeneralLedgerAccountId>
4
          <Status
Status

Status of general ledger account

Possible domain values can be found here

>
{Integer}</Status>
5
          <Name
Name

Name of general ledger account

>
{String}</Name>
6
          <Type
Type

Type of account

Possible domain values can be found here

>
{String}</Type>
7
          <AccountNumber
AccountNumber

The account number of the general ledger account

>
{String}</AccountNumber>
8
          <TreeLevel
TreeLevel

Level in the general ledger account tree. 0 is the root.

>
{Integer}</TreeLevel>
9
          <IsControlAccount
IsControlAccount

True if general ledger account is a control account

>
{Boolean}</IsControlAccount>
10
          <Children
Children

This field is greyed out because it is an expandable field. You have to add $expand=GeneralLedgerAccount.Children in your request URI to get this field

>
11
               <HasChildren
HasChildren

True if general ledger account has any child accounts

This field is greyed out because it is an expandable field. You have to add $expand=GeneralLedgerAccount.Children in your request URI to get this field

>
{Boolean}</HasChildren>
12
               <NumberOfChildren
NumberOfChildren

Number of general ledger account children

This field is greyed out because it is an expandable field. You have to add $expand=GeneralLedgerAccount.Children in your request URI to get this field

>
{Integer}</NumberOfChildren>
13
          </Children>
14
          <DimensionRequirements
DimensionRequirements

This field is greyed out because it is an expandable field. You have to add $expand=GeneralLedgerAccount.DimensionRequirements in your request URI to get this field

>
15
               <DimensionRequirement
DimensionRequirement

This field is greyed out because it is an expandable field. You have to add $expand=GeneralLedgerAccount.DimensionRequirements in your request URI to get this field

>
16
                    <Requirement
Requirement

Specifies how the dimension should be used for the specific account.

Possible domain values can be found here

This field is greyed out because it is an expandable field. You have to add $expand=GeneralLedgerAccount.DimensionRequirements in your request URI to get this field

>
{String}</Requirement>
17
                    <DimensionDefinition
DimensionDefinition

This field is greyed out because it is an expandable field. You have to add $expand=GeneralLedgerAccount.DimensionRequirements in your request URI to get this field

>
18
                         <DimensionDefinitionId
DimensionDefinitionId

Dimension identifier

This field is greyed out because it is an expandable field. You have to add $expand=GeneralLedgerAccount.DimensionRequirements in your request URI to get this field

>
{Integer}</DimensionDefinitionId>
19
                         <Name
Name

Name of dimension

This field is greyed out because it is an expandable field. You have to add $expand=GeneralLedgerAccount.DimensionRequirements in your request URI to get this field

>
{String}</Name>
20
                         <Description
Description

Description of dimension

This field is greyed out because it is an expandable field. You have to add $expand=GeneralLedgerAccount.DimensionRequirements in your request URI to get this field

>
{String}</Description>
21
                         <ValueSource
ValueSource

Where the value is selected from.

This field is greyed out because it is an expandable field. You have to add $expand=GeneralLedgerAccount.DimensionRequirements in your request URI to get this field

>
22
                              <Type
Type

Type of source

Possible domain values can be found here

This field is greyed out because it is an expandable field. You have to add $expand=GeneralLedgerAccount.DimensionRequirements in your request URI to get this field

>
{String}</Type>
23
                         </ValueSource>
24
                         <DimensionDefinitionLink
DimensionDefinitionLink

Dimension reference

This field is greyed out because it is an expandable field. You have to add $expand=GeneralLedgerAccount.DimensionRequirements in your request URI to get this field

>
{String}</DimensionDefinitionLink>
25
                    </DimensionDefinition>
26
               </DimensionRequirement>
27
          </DimensionRequirements>
28
          <SAFTStandardCode
SAFTStandardCode

This field is greyed out because it is an expandable field. You have to add $expand=GeneralLedgerAccount.SAFTStandardCode in your request URI to get this field

>
29
               <SAFTStandardCodeId
SAFTStandardCodeId

SAF-T standard code identifier

This field is greyed out because it is an expandable field. You have to add $expand=GeneralLedgerAccount.SAFTStandardCode in your request URI to get this field

>
{Integer}</SAFTStandardCodeId>
30
               <Code
Code

SAF-T standard code

This field is greyed out because it is an expandable field. You have to add $expand=GeneralLedgerAccount.SAFTStandardCode in your request URI to get this field

>
{String}</Code>
31
               <TranslatedName
TranslatedName

Name of SAF-T standard code

This field is greyed out because it is an expandable field. You have to add $expand=GeneralLedgerAccount.SAFTStandardCode in your request URI to get this field

>
{String}</TranslatedName>
32
               <SAFTStandardCodeLink
SAFTStandardCodeLink

SAF-T standard code reference

This field is greyed out because it is an expandable field. You have to add $expand=GeneralLedgerAccount.SAFTStandardCode in your request URI to get this field

>
{String}</SAFTStandardCodeLink>
33
          </SAFTStandardCode>
34
          <Totals
Totals

Total amounts from the general ledger postings for a specific period

This field is greyed out because it is an expandable field. You have to add $expand=GeneralLedgerAccount.Totals in your request URI to get this field

>
35
               <AccountingPeriod
AccountingPeriod

This field is greyed out because it is an expandable field. You have to add $expand=GeneralLedgerAccount.Totals in your request URI to get this field

>
36
                    <AccountingPeriodId
AccountingPeriodId

Accounting period identifier

This field is greyed out because it is an expandable field. You have to add $expand=GeneralLedgerAccount.Totals in your request URI to get this field

>
{Integer}</AccountingPeriodId>
37
                    <Period
Period

Accounting period

This field is greyed out because it is an expandable field. You have to add $expand=GeneralLedgerAccount.Totals in your request URI to get this field

>
{Integer}</Period>
38
                    <AccountingPeriodLink
AccountingPeriodLink

Accounting period reference

This field is greyed out because it is an expandable field. You have to add $expand=GeneralLedgerAccount.Totals in your request URI to get this field

>
{String}</AccountingPeriodLink>
39
               </AccountingPeriod>
40
               <PeriodAmounts
PeriodAmounts

This field is greyed out because it is an expandable field. You have to add $expand=GeneralLedgerAccount.Totals in your request URI to get this field

>
41
                    <Currency
Currency

Three character code following the ISO 4217 standard

This field is greyed out because it is an expandable field. You have to add $expand=GeneralLedgerAccount.Totals in your request URI to get this field

>
{String}</Currency>
42
                    <Amount
Amount

Total amount.

This field is greyed out because it is an expandable field. You have to add $expand=GeneralLedgerAccount.Totals in your request URI to get this field

>
{Decimal}</Amount>
43
               </PeriodAmounts>
44
               <YearToDateAmounts
YearToDateAmounts

This field is greyed out because it is an expandable field. You have to add $expand=GeneralLedgerAccount.Totals in your request URI to get this field

>
45
                    <Currency
Currency

Three character code following the ISO 4217 standard

This field is greyed out because it is an expandable field. You have to add $expand=GeneralLedgerAccount.Totals in your request URI to get this field

>
{String}</Currency>
46
                    <Amount
Amount

Total amount.

This field is greyed out because it is an expandable field. You have to add $expand=GeneralLedgerAccount.Totals in your request URI to get this field

>
{Decimal}</Amount>
47
               </YearToDateAmounts>
48
          </Totals>
49
          <GeneralLedgerAccountLink
GeneralLedgerAccountLink

General ledger account reference

>
{String}</GeneralLedgerAccountLink>
50
     </GeneralLedgerAccount>
51
     <Paging
Paging

Detailed paging information for this list.

>
52
          <PageSize
PageSize

Number of elements in the list, as defined in $top. Default is 10.

>
{Integer}</PageSize>
53
          <Position
Position

Position of the first element in the list

>
{Integer}</Position>
54
          <Page
Page

Page index

>
{Integer}</Page>
55
          <FirstPageKey
FirstPageKey

Page key to use for navigating to the first page in the list

This field is greyed out because it is an expandable field. You have to add $expand=PagingDetails in your request URI to get this field

>
{String}</FirstPageKey>
56
          <FirstPage
FirstPage

Link to the first page in the list. $pageKey is set to FirstPageKey.

>
{String}</FirstPage>
57
          <PreviousPageKey
PreviousPageKey

Page key to use for navigating to previous page in the list

This field is greyed out because it is an expandable field. You have to add $expand=PagingDetails in your request URI to get this field

>
{String}</PreviousPageKey>
58
          <PreviousPage
PreviousPage

Link to the previous page in the list. $pageKey is set to PreviousPageKey.

>
{String}</PreviousPage>
59
          <NextPageKey
NextPageKey

Page key to use for navigating to next page in the list

This field is greyed out because it is an expandable field. You have to add $expand=PagingDetails in your request URI to get this field

>
{String}</NextPageKey>
60
          <NextPage
NextPage

Link to the next page in the list. $pageKey is set to NextPageKey.

>
{String}</NextPage>
61
          <LastPageKey
LastPageKey

Page key to use for navigating to last page in the list

This field is greyed out because it is an expandable field. You have to add $expand=PagingDetails in your request URI to get this field

>
{String}</LastPageKey>
62
          <LastPage
LastPage

Link to the last page in the list. $pageKey is set to LastPageKey.

>
{String}</LastPage>
63
          <Size
Size

Total number of records in the list. Use $inlinecount=allpages in the request uri to include this

>
{Integer}</Size>
64
     </Paging>
65
</GeneralLedgerAccounts>
1
{
2
     "generalLedgerAccounts": [
3
          {
4
               "generalLedgerAccountId
GeneralLedgerAccountId

General ledger account identifier

":
"{Integer}",
5
               "status
Status

Status of general ledger account

Possible domain values can be found here

":
"{Integer}",
6
               "name
Name

Name of general ledger account

":
"{String}",
7
               "type
Type

Type of account

Possible domain values can be found here

":
"{String}",
8
               "accountNumber
AccountNumber

The account number of the general ledger account

":
"{String}",
9
               "treeLevel
TreeLevel

Level in the general ledger account tree. 0 is the root.

":
"{Integer}",
10
               "isControlAccount
IsControlAccount

True if general ledger account is a control account

":
"{Boolean}",
11
               "children
Children

This field is greyed out because it is an expandable field. You have to add $expand=GeneralLedgerAccount.Children in your request URI to get this field

":
{
12
                    "hasChildren
HasChildren

True if general ledger account has any child accounts

This field is greyed out because it is an expandable field. You have to add $expand=GeneralLedgerAccount.Children in your request URI to get this field

":
"{Boolean}",
13
                    "numberOfChildren
NumberOfChildren

Number of general ledger account children

This field is greyed out because it is an expandable field. You have to add $expand=GeneralLedgerAccount.Children in your request URI to get this field

":
"{Integer}"
14
               },
15
               "dimensionRequirements
DimensionRequirements

This field is greyed out because it is an expandable field. You have to add $expand=GeneralLedgerAccount.DimensionRequirements in your request URI to get this field

":
[
16
                    {
17
                         "requirement
Requirement

Specifies how the dimension should be used for the specific account.

Possible domain values can be found here

This field is greyed out because it is an expandable field. You have to add $expand=GeneralLedgerAccount.DimensionRequirements in your request URI to get this field

":
"{String}",
18
                         "dimensionDefinition
DimensionDefinition

This field is greyed out because it is an expandable field. You have to add $expand=GeneralLedgerAccount.DimensionRequirements in your request URI to get this field

":
{
19
                              "dimensionDefinitionId
DimensionDefinitionId

Dimension identifier

This field is greyed out because it is an expandable field. You have to add $expand=GeneralLedgerAccount.DimensionRequirements in your request URI to get this field

":
"{Integer}",
20
                              "name
Name

Name of dimension

This field is greyed out because it is an expandable field. You have to add $expand=GeneralLedgerAccount.DimensionRequirements in your request URI to get this field

":
"{String}",
21
                              "description
Description

Description of dimension

This field is greyed out because it is an expandable field. You have to add $expand=GeneralLedgerAccount.DimensionRequirements in your request URI to get this field

":
"{String}",
22
                              "valueSource
ValueSource

Where the value is selected from.

This field is greyed out because it is an expandable field. You have to add $expand=GeneralLedgerAccount.DimensionRequirements in your request URI to get this field

":
{
23
                                   "type
Type

Type of source

Possible domain values can be found here

This field is greyed out because it is an expandable field. You have to add $expand=GeneralLedgerAccount.DimensionRequirements in your request URI to get this field

":
"{String}"
24
                              },
25
                              "dimensionDefinitionLink
DimensionDefinitionLink

Dimension reference

This field is greyed out because it is an expandable field. You have to add $expand=GeneralLedgerAccount.DimensionRequirements in your request URI to get this field

":
"{String}"
26
                         }
27
                    }
28
               ],
29
               "sAFTStandardCode
SAFTStandardCode

This field is greyed out because it is an expandable field. You have to add $expand=GeneralLedgerAccount.SAFTStandardCode in your request URI to get this field

":
{
30
                    "sAFTStandardCodeId
SAFTStandardCodeId

SAF-T standard code identifier

This field is greyed out because it is an expandable field. You have to add $expand=GeneralLedgerAccount.SAFTStandardCode in your request URI to get this field

":
"{Integer}",
31
                    "code
Code

SAF-T standard code

This field is greyed out because it is an expandable field. You have to add $expand=GeneralLedgerAccount.SAFTStandardCode in your request URI to get this field

":
"{String}",
32
                    "translatedName
TranslatedName

Name of SAF-T standard code

This field is greyed out because it is an expandable field. You have to add $expand=GeneralLedgerAccount.SAFTStandardCode in your request URI to get this field

":
"{String}",
33
                    "sAFTStandardCodeLink
SAFTStandardCodeLink

SAF-T standard code reference

This field is greyed out because it is an expandable field. You have to add $expand=GeneralLedgerAccount.SAFTStandardCode in your request URI to get this field

":
"{String}"
34
               },
35
               "totals
Totals

Total amounts from the general ledger postings for a specific period

This field is greyed out because it is an expandable field. You have to add $expand=GeneralLedgerAccount.Totals in your request URI to get this field

":
{
36
                    "accountingPeriod
AccountingPeriod

This field is greyed out because it is an expandable field. You have to add $expand=GeneralLedgerAccount.Totals in your request URI to get this field

":
{
37
                         "accountingPeriodId
AccountingPeriodId

Accounting period identifier

This field is greyed out because it is an expandable field. You have to add $expand=GeneralLedgerAccount.Totals in your request URI to get this field

":
"{Integer}",
38
                         "period
Period

Accounting period

This field is greyed out because it is an expandable field. You have to add $expand=GeneralLedgerAccount.Totals in your request URI to get this field

":
"{Integer}",
39
                         "accountingPeriodLink
AccountingPeriodLink

Accounting period reference

This field is greyed out because it is an expandable field. You have to add $expand=GeneralLedgerAccount.Totals in your request URI to get this field

":
"{String}"
40
                    },
41
                    "periodAmounts
PeriodAmounts

This field is greyed out because it is an expandable field. You have to add $expand=GeneralLedgerAccount.Totals in your request URI to get this field

":
{
42
                         "currency
Currency

Three character code following the ISO 4217 standard

This field is greyed out because it is an expandable field. You have to add $expand=GeneralLedgerAccount.Totals in your request URI to get this field

":
"{String}",
43
                         "amount
Amount

Total amount.

This field is greyed out because it is an expandable field. You have to add $expand=GeneralLedgerAccount.Totals in your request URI to get this field

":
"{Decimal}"
44
                    },
45
                    "yearToDateAmounts
YearToDateAmounts

This field is greyed out because it is an expandable field. You have to add $expand=GeneralLedgerAccount.Totals in your request URI to get this field

":
{
46
                         "currency
Currency

Three character code following the ISO 4217 standard

This field is greyed out because it is an expandable field. You have to add $expand=GeneralLedgerAccount.Totals in your request URI to get this field

":
"{String}",
47
                         "amount
Amount

Total amount.

This field is greyed out because it is an expandable field. You have to add $expand=GeneralLedgerAccount.Totals in your request URI to get this field

":
"{Decimal}"
48
                    }
49
               },
50
               "generalLedgerAccountLink
GeneralLedgerAccountLink

General ledger account reference

":
"{String}"
51
          }
52
     ],
53
     "paging
Paging

Detailed paging information for this list.

":
{
54
          "pageSize
PageSize

Number of elements in the list, as defined in $top. Default is 10.

":
"{Integer}",
55
          "position
Position

Position of the first element in the list

":
"{Integer}",
56
          "page
Page

Page index

":
"{Integer}",
57
          "firstPageKey
FirstPageKey

Page key to use for navigating to the first page in the list

This field is greyed out because it is an expandable field. You have to add $expand=PagingDetails in your request URI to get this field

":
"{String}",
58
          "firstPage
FirstPage

Link to the first page in the list. $pageKey is set to FirstPageKey.

":
"{String}",
59
          "previousPageKey
PreviousPageKey

Page key to use for navigating to previous page in the list

This field is greyed out because it is an expandable field. You have to add $expand=PagingDetails in your request URI to get this field

":
"{String}",
60
          "previousPage
PreviousPage

Link to the previous page in the list. $pageKey is set to PreviousPageKey.

":
"{String}",
61
          "nextPageKey
NextPageKey

Page key to use for navigating to next page in the list

This field is greyed out because it is an expandable field. You have to add $expand=PagingDetails in your request URI to get this field

":
"{String}",
62
          "nextPage
NextPage

Link to the next page in the list. $pageKey is set to NextPageKey.

":
"{String}",
63
          "lastPageKey
LastPageKey

Page key to use for navigating to last page in the list

This field is greyed out because it is an expandable field. You have to add $expand=PagingDetails in your request URI to get this field

":
"{String}",
64
          "lastPage
LastPage

Link to the last page in the list. $pageKey is set to LastPageKey.

":
"{String}",
65
          "size
Size

Total number of records in the list. Use $inlinecount=allpages in the request uri to include this

":
"{Integer}"
66
     }
67
}

List of available operations/actions for this resource.
See the operations documentation for more information about API operations.

Possible error codes the response might return:

Error 106438 HTTP 400 SAF-T standard code not found
Error 101420 HTTP 404 Setting definition not found